package cn.tedu.order.service;

import cn.HK.po.Order;
import cn.tedu.order.mapper.AcceptOrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AcceptOrderService {
    @Autowired(required = false)
    private AcceptOrderMapper acceptOrderMapper;


    public void updateOstatetrue(Order order) {
        acceptOrderMapper.updateStatetrue(order);

    }

    public void updateOstatefalse(Order order) {
        acceptOrderMapper.updateStatefalse(order);

    }
}
